package com.dreem.adapter.interfaceadapter;

/**
 * @program: DesignParrtern
 * @description: 手机类
 * @author: Peng
 * @create: 2021-01-30  12:00
 **/
public class Phone {
    public void charging(IAbsAdapter iAbsAdapter){
        int dst = iAbsAdapter.voltage5V();
        System.out.println(dst + "V充电中...");
    }
}
